import 'package:flutter/material.dart';

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Container(
        height: 400,
        width: 300,
        color: Colors.green,
        child: Stack(
          children: [
            Positioned(
                left: 0,
                bottom: 0,
                child: Container(
                  height: 100,
                  width: 100,
                  color: Colors.yellow,
                )),
            const Positioned(right: 0, top: 190, child: Text("你好flutter"))
          ],
        ),
      ),
    );
  }
}
